package cn.chengdu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 科室表
 * </p>
 *
 * @author jobob
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 科室id
     */
    @TableId(value = "depid", type = IdType.AUTO)
    private Integer depid;

    /**
     * 医院id
     */
    private Integer hosid;

    /**
     * 科室类型
     */
    private String deptype;

    /**
     * 科室数据库名
     */
    private String depdbsource;

//    public Department(Integer depid, String deptype) {
//        this.depid = depid;
//        this.deptype = deptype;
//    }
}
